package io.zhifei.modules.sys.system.entity.vi.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/*
 * @Author wangyuanyue
 * @Date 2020/10/12 14:46
 * @Content 订单输入实体类
 */
@Data
public class OrderVi {


    /**
     * 主键
     */
    @ApiModelProperty(hidden = true)
    private String id;

    @ApiModelProperty(value = "每页大小",hidden = true)
    private int pageSize;    //每页大小

    @ApiModelProperty(value = "当前页",hidden = true)
    private int currPage;  //当前页

    @ApiModelProperty("支付状态")
    private String status;  //支付状态，精确查询

    @ApiModelProperty(value = "姓名",hidden = true)
    private String userName;    //姓名，模糊查询

    /**
     *订单流水号即是订单编号
     */
    @ApiModelProperty(value = "订单编号")
    private String serialNumber;

    /**
     * 收货人
     */
    @ApiModelProperty(value = "收货人")
    private String receiveName;

    /**
     * 收货人电话
     */
    @ApiModelProperty(value = "收货人电话")
    private String receivePhone;

    /**
     * 支付时间（开始）
     */
    @ApiModelProperty(value = "支付时间（开始）")
    private String startTime;

    /**
     * 支付时间(结束)
     */
    @ApiModelProperty(value = "支付时间(结束)")
    private String endTime;

    /**
     * 快递公司
     */
    @ApiModelProperty(hidden = true)
    private String logisticsName;

    /**
     * 物流编号
     */
    @ApiModelProperty(hidden = true)
    private String logisticsNumber;

    /**
     * 物流类型，1：发货，2：不发货
     */
    @ApiModelProperty(hidden = true)
    private String logisticsType;


    @Override
    public String toString() {
        return "OrderVi{" +
                "id='" + id + '\'' +
                ", pageSize=" + pageSize +
                ", currPage=" + currPage +
                ", status='" + status + '\'' +
                ", userName='" + userName + '\'' +
                ", serialNumber='" + serialNumber + '\'' +
                ", receiveName='" + receiveName + '\'' +
                ", receivePhone='" + receivePhone + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", logisticsName='" + logisticsName + '\'' +
                ", logisticsNumber='" + logisticsNumber + '\'' +
                ", logisticsType='" + logisticsType + '\'' +
                '}';
    }
}
